/* eslint-disable valid-typeof */
const isWeakMap = require('./isWeakMap')
var staticStrUndefined = require('./staticStrUndefined')

var supportWeakSet = typeof WeakSet !== staticStrUndefined
function isWeakSet(obj) {
  return supportWeakSet && obj instanceof WeakSet
}

module.exports = isWeakSet
